package com.epam.lissina.entity;

import com.epam.lissina.enums.TypeOfTransport;

public class TravelTour extends Tour {

	private TypeOfTransport tourTransport;
	private int numberOfTrips;

	public TravelTour(TypeOfTransport transport, double cost, int days,
			int numberOfTrips, TypeOfTransport tourTransport) {
		super(transport, cost, days);
		this.numberOfTrips = numberOfTrips;
		this.tourTransport = tourTransport;
	}

	public int getNumberOfTrips() {
		return numberOfTrips;
	}

	public void setNumberOfTrips(int numberOfTrips) {
		this.numberOfTrips = numberOfTrips;
	}

	public TypeOfTransport getTourTransport() {
		return tourTransport;
	}

	public void setTourTransport(TypeOfTransport tourTransport) {
		this.tourTransport = tourTransport;
	}

	@Override
	public String toString() {
		return "Tourism [tourTransport " + tourTransport + ", numberOfTrips "
				+ numberOfTrips + ", Transport " + getTransport() + ", Cost "
				+ getCost() + " NumberOfDays " + getDays() + "]";
	}
}
